@import "../_commont/reset.scss";


//通用设置
* {
    margin: 0;
    padding: 0;
}
html, body {
    width: 1349px;
    overflow: auto;
}
div {
    display: block;
}
body {
    font-family: 'PingFang SC','Heiti SC','微软雅黑',Helvetica,Arial;
    font-size: 12px;
    color: #684029;
    overflow-x: hidden;
    width: 1349px;
    display: block;
}
 a:visited, a:link, a {
    color: #684029;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
:link, :visited, ins {
    text-decoration: none;
}
img, a {
    border: none;
    margin: 0px;
    padding: 0px;
}

//首页头部
.header-box {
    width: 1349px;
    height: 80px;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000000;
    width: 1349px;
    height: 80px;
    background: #FFF;
    box-shadow: 0 2px 2px 0 rgba(195,195,195,0.50);
}

//头部导航
.header-nav {
    margin: 0 auto;
    max-width: 1200px;
    height: 80px;
}
.header .header-logo {
    display: block;
    float: left;
    width: 120px;
    height: 44px;
    margin-top: 18px;
}
.header .header-logo img {
    width: 100%;
}
fieldset, img {
    border: 0;
}

//导航中部
.header .header-nav .nav-box {
    position: relative;
    float: left;
    line-height: 80px;
    height: 80px;
    width: 532px;
    margin-left: 30px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}
.header .header-nav .nav-box a{
    text-decoration: none;
}
.header .header-nav .nav-box a:hover{
    color: #BB9772;
}
ol, ul {
    list-style: none;
    list-style-type: none;
    list-style-position: initial;
    list-style-image: initial;
}
ul, menu, dir {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}
.header .nav-box li {
    float: left;
    margin: 0 15px;
    font-size: 14px;
    position: relative;
}
li {
    display: list-item;
    text-align: -webkit-match-parent;
}

//导航右侧

ul li ul{
    display: none;
}
ul li:hover ul {
    display: block;
}
.header .header-nav .right-city-user {
    float: left;
    font-size: 14px;
    width: 368px;
    height: 80px;
    line-height: 80px;
    margin-left: 150px;
    position: relative;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}
.header .header-nav .right-city-user a {
    text-decoration: none;
    color: #684029;
}
.header .header-nav .right-city-user a:hover {
    color: #BB9772;
}
.header .header-nav .right-city-user li {
    width:fit-content;
    width:-webkit-fit-content;
    width:-moz-fit-content;
    float: left;
    margin-right: 30px;
    position: relative;
}

//app下载
.header .header-nav .right-city-user .header-app .app-list {
    width: 122px;
    height: 137px;
    float: left;
    position: absolute;
    background: #FFF;
    border: 1px solid gainsboro;
    margin-top: -10px;
    margin-right: 0;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.10);
    padding: 10px;
    line-height: 122px;
    left: -34px;
    font-size: 12px;
}    
.header .header-nav .right-city-user .header-app ul li {
    width: 100px;
    height: 100px;
    float: left;
    position: absolute;
    line-height: 100px;
    text-align: center;
}
.header .header-nav .right-city-user .header-app ul li img {
    width: 100px;
    height: 100px;
}
.header .header-nav .right-city-user .header-app ul li a {
    margin-top: -40px;
    margin-left: 8px;
    color: #684029;
    float: left;
}


//地区分类北京
.header .current-city i {
        background: url(https://static.21cake.com/themes/site/img/icon.png) no-repeat;      
        background-position: 0 -59px;
        background-size: 310px 120px;
        height: 7px;
        width: 10px;
        display: inline-block;
        vertical-align: middle;
        margin-left: 4px;
    }
.header .right-city-user .current-city ul {
    width: 100px;
    height: 174px;  
    margin-top: -10px;  
    margin-left: -25px;
    position: absolute;
    float: left;
    background: #FFF; 
    border: 1px solid gainsboro;
    margin-right: 0;
    padding-left: 0;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.10);
}
.header .right-city-user .current-city ul li {
    float: left;
    position: relative;
    width: 100px;
    height: 12px;
    margin-top: 4px;
    margin-left: 38px;
}
.header  .right-city-user .current-city ul li a {
    text-align: center;
    color: #D5BFA7;
    font-size: 12px;
}
.header  .right-city-user .current-city ul li a:hover {
    color: black;
}

//消息二级菜单
.header .right-city-user .message-list-header ul {
position: absolute;
float: left;
background: #FFF; 
border: 1px solid gainsboro;
width: 100px;
height: 84px; 
margin-top: -10px; 
margin-left: -30px;
box-shadow: 0 0 6px 0 rgba(0,0,0,0.10);
}
.header .right-city-user .message-list-header ul li {
display: block;
position: relative;
width: 100px;
height: 12px;
margin-top: 4px;
margin-left: -4px;
}
.header  .right-city-user .message-list-header ul li a {
color: #D5BFA7;
font-size: 12px;
}
.header  .right-city-user .message-list-header ul li a:hover {
color: black;
}

//购物车
.header .header-cart i {
    background: url(../images/icon.png) no-repeat;
    background-position: -286px -76px;
    background-size: 310px 120px;
    height: 18px;  
    width: 18px;
    display: inline-block;
    vertical-align: middle;
}

//按钮
.page-navigation{
      height: 79px;
      right: 40px;
      top: 1100px;
      position: absolute;
      ul{
          width: 350px;
          height: 34px;
          margin: 15px 0;
          float:right;
          li{
            float: left;
            cursor: pointer;           
              a{
                  width:7px;
                  height: 20px;
                  padding: 6px 12px;
                  border: 1px solid black;
              }
              span{
                  width:8px;
                  height: 16px;
              }
          }
      }
  }
  .page-navigation ul .active{
      background: red;
  }


 //列表渲染,一页渲染12个，一行渲染4个
 .my-container{
      width: 1200px;
      height:990px;
      float:left;
      margin-left:60px;
      background:#fff;
      #goods_list{
          width:1200px;
          height:990px;
          float:left;
          margin-left:18px;
          .goods-item{
              width: 264px;
              height: 424px;
              padding: 8px;
              margin-right: 5px;
              margin-bottom: 12px;
              float: left;
              .img-box{
                  width: 228px;
                  height: 256px;
                  img{
                        width: 228px;
                        height: 246px;
                  }
              }


              .title-box{
                  width:196px;
                  height: 30px;
                  padding-left: 8px;
                  padding-right: 8px;
                  a{
                      @extend .title-box;
                      display: block;
                      padding-left: 0;
                      text-align: center;
                      color: black;
                      width:196px;
                      height: 40px;
                      font-size: 12px;
                      overflow: hidden;
                      text-decoration: none;
                  }
                  &:hover{
                      color: #D5BFA7;;
                  }
              }
              .pricerow{
                  width: 196px;
                  height: 22px;
                  padding-left: 8px;
                  padding-right: 8px;
                  margin-top: 4px;
                  margin-bottom: 4px;
                 
                  h3 {
                        font-size: 13px;
                        line-height: 20px;
                        text-align: center;
                    }
                    span {
                        display: block;
                        color: #BB9772;
                        line-height: 18px;
                        text-align: center;
                        font-size: 13px;
                    }
              }
             
                  .label-entrance a {
                        display: inline-block;
                        border: 1px solid #D5BFA7;
                        border-radius: 100px;
                        padding: 0 6px 0 8px;
                        color: #D5BFA7;
                        margin-top: 25px;
                        margin-left: 8px;  
                        text-decoration: none;                      
                    }
                    .cart{
                          width: 107px;
                          height: 30px;
                          position: relative;
                          .pro-list-addcart {
                              position: absolute;
                              top: 0px;
                              display: inline-block;
                              width: 107px;
                              left: 60px;
                              line-height: 28px;
                              margin-top: 12px;
                              background: none;
                              font-size: 13px;
                              text-decoration: none;
                              i {
                                    display: inline-block;
                                    vertical-align: middle;
                                    background: url(https://static.21cake.com/themes/site/img/icon.png) no-repeat;
                                    background-position: -216px -40px;
                                    background-size: 310px 120px;
                                    height: 28px;
                                    width: 28px;
                                    margin-right: 2px;
                                }
                          }  
                    }
                    
                        
          
              &:hover{
                  -webkit-box-shadow: #ccc 0px 10px 10px;
  
                  -moz-box-shadow: #ccc 0px 10px 10px;
      
                  box-shadow: #ccc 0px 10px 10px;
              }

          }     
      }
  }
  


